try{
	Type.registerNamespace('ProcessCompleteRptVO');
	//工序完工报告VO
	ProcessCompleteRptVO=function() {};
	ProcessCompleteRptVO.prototype=new NCMMPubUtil.SuperVO();
	//单据号
	ProcessCompleteRptVO.ORDERID={
		name:"orderid",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//单据行号
	ProcessCompleteRptVO.ORDERROWNO={
		name:"orderrowno",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工序id
	ProcessCompleteRptVO.OPID={
		name:"opid",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工序号
	ProcessCompleteRptVO.OPCODE={
		name:"opcode",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工序名称
	ProcessCompleteRptVO.OPNAME={
		name:"opname",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工作中心id
	ProcessCompleteRptVO.WKID={
		name:"wkid",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工作中心编码
	ProcessCompleteRptVO.WKCODE={
		name:"wkcode",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工作中心名称
	ProcessCompleteRptVO.WKNAME={
		name:"wkname",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//物料id
	ProcessCompleteRptVO.MATERIAL={
		name:"material",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//物料CODE
	ProcessCompleteRptVO.MATERIALCODE={
		name:"materialcode",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//物料NAME
	ProcessCompleteRptVO.MATERIALNAME={
		name:"materialname",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//本次完工数量
	ProcessCompleteRptVO.COMPLETENUM={
		name:"completenum",type:NCMMPubUtil.VALUE_TYPE_REAL
	}
	//单位ID
	ProcessCompleteRptVO.UNITID={
		name:"unitid",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//单位编码
	ProcessCompleteRptVO.UNITCODE={
		name:"unitcode",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//单位名称
	ProcessCompleteRptVO.UNITNAME={
		name:"unitname",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//实际完工时间
	ProcessCompleteRptVO.ACTUALENDDATE={
		name:"actualenddate",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	ProcessCompleteRptVO.prototype.getAllAttrs=function() {
		return [ //单据号
				ProcessCompleteRptVO.ORDERID
				//单据行号
				,ProcessCompleteRptVO.ORDERROWNO
				//工序id
				,ProcessCompleteRptVO.OPID
				//工序号
				,ProcessCompleteRptVO.OPCODE
				//工序名称
				,ProcessCompleteRptVO.OPNAME
				//工作中心id
				,ProcessCompleteRptVO.WKID
				//工作中心编码
				,ProcessCompleteRptVO.WKCODE
				//工作中心名称
				,ProcessCompleteRptVO.WKNAME
				//物料id
				,ProcessCompleteRptVO.MATERIAL
				//物料CODE
				,ProcessCompleteRptVO.MATERIALCODE
				//物料NAME
				,ProcessCompleteRptVO.MATERIALNAME
				//完工数量
				,ProcessCompleteRptVO.COMPLETENUM
				//单位ID
				,ProcessCompleteRptVO.UNITID
				//单位编码
				,ProcessCompleteRptVO.UNITCODE
				//单位名称
				,ProcessCompleteRptVO.UNITNAME
				//实际完工时间
				,ProcessCompleteRptVO.ACTUALENDDATE];
	}
	ProcessCompleteRptVO.prototype.getTableName=function() {
		return "mm_processcompleterpt";
		
	}
	ProcessCompleteRptVO.prototype.getPrimaryAttr=function() {
		return ProcessCompleteRptVO.ORDERID;
	}
}catch(e){
	$e(e);
}